﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Wizzard
{
    class Chao
    {
        Texture2D textura;
        public Rectangle area;

        public Chao(ContentManager content, GameWindow window)
        {
            textura = content.Load<Texture2D>("Chao");
            area.Width = textura.Width;
            area.Height = textura.Height;
            area.X = 0;
            area.Y = window.ClientBounds.Height - textura.Height;
        }

        public void Update(GameTime gameTime)
        {

        }

        public void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(textura, area, Color.White);
        }
    }
}
